package com.gzyj.pojo.web.dept;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import lombok.Data;

/**
 * @author ZhiPeng.Lin
 * @Description
 * @Date 2024-10-10
 */
@Data
@TableName(value = "blade_dept")
public class BladeDept implements Serializable {

    @TableId(type = IdType.AUTO)
    @TableField(value = "id")
    private Integer id;

    @TableField(value = "tenant_code")
    private String tenantCode;

    @TableField(value = "parent_id")
    private Long parentId;

    @TableField(value = "dept_name")
    private String deptName;

    @TableField(value = "full_name")
    private String fullName;

    @TableField(value = "sort")
    private Integer sort;

    @TableField(value = "remark")
    private String remark;

    @TableField(value = "is_deleted")
    private Integer isDeleted;

    @TableField(value = "tree_code")
    private String treeCode;

    @TableField(value = "extend_type")
    private String extendType;
    @TableField(exist = false)
    private Integer searchType;
    @TableField(exist = false)
    private String countryId;
    @TableField(exist = false)
    private String cityId;
    @TableField(exist = false)
    private String provinceId;

    @TableField(exist = false)
    private String jigouName="机构";

}
